# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname="py3-rss2email"
_pyname="rss2email"
pkgver="3.11"
pkgrel=0
pkgdesc="Forward RSS feeds to your email address, community maintained"
url="https://github.com/rss2email/rss2email"
arch="noarch"
license="GPL-2.0-only"
depends="python3 py3-feedparser py3-html2text py3-beautifulsoup4"
makedepends="py3-setuptools"
source="$_pyname-$pkgver.tar.gz::https://github.com/rss2email/rss2email/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="2efdef703a4b4774d85926f500a37689aea3a324f63a13a686a2322c9f69ac7b940c5b953f417d9259e1493b3dafde4c2e1ddb3433d085fb2400cd06001141bb  rss2email-3.11.tar.gz"
